Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc - Cleanup unused namespace vars #8704

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Misc - Cleanup unused namespace vars #8704

merged 1 commit into from
Nov 26, 2021

Conversation

PabstMirror
Copy link
Contributor

No description provided.

Co-Authored-By: Serg Vergun <1197314+severgun@users.noreply.github.com>
@PabstMirror PabstMirror added the ignore-changelog Release Notes: Excluded label Nov 25, 2021
@PabstMirror PabstMirror added this to the 3.14.2 milestone Nov 25, 2021
GVAR(hardpointGroupsCache) = [] call CBA_fnc_createNamespace;
GVAR(configTypesAdded) = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should rather replace this array with a HashMap. Would make these lookups O(1) instead of O(n).
https://github.com/acemod/ACE3/blob/master/addons/rearm/functions/fnc_initSupplyVehicle.sqf#L32-L33

@PabstMirror PabstMirror merged commit 4cd3f9f into master Nov 26, 2021
@PabstMirror PabstMirror deleted the cleanupUnusedCash branch November 26, 2021 16:56
AndreasBrostrom pushed a commit to AndreasBrostrom/ACE3 that referenced this pull request Dec 3, 2021
Co-Authored-By: Serg Vergun <1197314+severgun@users.noreply.github.com>

Co-authored-by: Serg Vergun <1197314+severgun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-changelog Release Notes: Excluded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants